package homework;

public class PersonTest {
    public static void main(String[] args) {
        Student zs = new Student("张三",25,"烟台","jsd2312","001");
        zs.sayHi();
        zs.eat();
        zs.sleep();
        zs.study();

        Teacher ls = new Teacher("李四",35,"北京",8500.0);
        ls.sayHi();
        ls.eat();
        ls.sleep();
        ls.teach();

        Doctor ll = new Doctor("刘六",45,"重庆","主任医师");
        ll.sayHi();
        ll.eat();
        ll.sleep();
        ll.cut();
    }
}
